package com.atguigu.gulimall.order.to;

import com.atguigu.gulimall.order.entity.OrderEntity;
import com.atguigu.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderCreateTo {
    private OrderEntity order;    //订单
    private List<OrderItemEntity> orderItems;    //订单项
    private BigDecimal payPrice;    //订单应付的价格
    private BigDecimal fare;    //运费
}
